package com.frxuexi.mdm2201.fragment

import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import com.alibaba.android.arouter.facade.annotation.Route
import com.frxuexi.mdm2201.R
import com.frxuexi.mdm2201.databinding.FragmentHomeBinding
import com.frxuexi.mdm2201.view.HomePage


@Route(path = "/app/HomeFragment")
class HomeFragment : Fragment() {

    lateinit var binding:FragmentHomeBinding

    override fun onCreateView(
        inflater: LayoutInflater, container: ViewGroup?,
        savedInstanceState: Bundle?
    ): View? {

        // Inflate the layout for this fragment
        binding=FragmentHomeBinding.inflate(layoutInflater, container, false)
        binding.homeCom.setContent {
            HomePage()
        }

        return binding.root
    }

}